<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/4/16
  Time: 10:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link href="../../../css/houtaimain.css" rel="stylesheet" type="text/css" />

</head>

<body>
<h1 class="h1_style"><i class="i_h1"></i>添加失物类型</h1>
<div class="div_left">

    <form id="form_demo"  class="form_b">

        <p class="form_p"><label class="form_label">类型名称：</label><input type="text" class="form_input readonly " minlength="2"  required ><i class="i_start"></i></p>

    </form>
    <div class="clear"></div>

</div>


<div class="clear"></div>
<form id="form_demo1"  class="form_b">    <p class="but_p"><input type="submit" value="保存" class="but_save"/><input type="button" value="取消" class="but_close" id="close"> </p></form>

<script src="../../../js/jquery.js"></script>

<script src="../../../js/date/js/laydate.js"></script>
<script src="../../../js/jquery-validation-1.14.0/dist/jquery.validate.min.js" charset="utf-8"></script>
<script src="../../../js/jquery-validation-1.14.0/dist/localization/messages_zh.js" charset="utf-8"></script>
<script>
    !function () {
        laydate.skin('danlan'); //
        laydate({ elem: '#demo' });
        laydate({ elem: '#demo1' }); //
    } ();
</script>
<script >
    $.validator.setDefaults({
        submitHandler: function () {
            alert("修改成功");
        }
    });
    $().ready(function () {
        $(".form_b").validate();
    });
</script>
</body>
</html>

